package com.lrkj.waitress.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 路线明细对象 tb_path_detail
 *
 * @author yajun_ren
 * @date 2022-03-23
 */
@Data
public class PathDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 路线管理id */
    @Excel(name = "路线管理id")
    private String pathId;

    /** 地点id */
    @Excel(name = "地点id")
    private String placeId;

    /** 巡逻日期 */
    @Excel(name = "巡逻日期")
    private String patrolDate;

    /** 巡逻时间 */
    @Excel(name = "巡逻时间")
    private String patrolTime;

    private String placeName;

    private String placeOdd;

    /** 所属小区 */
    @Excel(name = "所属小区")
    private String communityId;

    /** 巡检人员 */
    @Excel(name = "巡检人员")
    private String crulserId;

    /** 巡检开始时间 */
    @Excel(name = "巡检开始时间")
    private String crulserBegin;

    /** 巡检结束时间 */
    @Excel(name = "巡检结束时间")
    private String crulserEnd;

    /** 巡检类型 */
    @Excel(name = "巡检类型")
    private String crulserType;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pathId", getPathId())
            .append("placeId", getPlaceId())
            .append("patrolDate", getPatrolDate())
            .append("patrolTime", getPatrolTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
